﻿{include file="./include/header.tpl"}
<div class="contentFrame">
    <div class="hr cB mb20"></div>
    <div class="contentBox">
        {include file="./include/banner.tpl"}
        <div class="applyBox tC">
            <form action="" method="post" enctype="multipart/form-data" id="applyForm" name="applyForm">
                <input type="hidden" name="transid" value="{$transactionid}">
                <input type="hidden" name="mode" value="confirm" />
                <input type="hidden" name="job_code" value="{$arrForm.job_code.value|default:''}" />
                <strong>
                    <span class="label">＜{$lang.applyBoxT1}＞</span> <br>
                    <span>{$lang.applyBoxContentT1} <br></span>
                </strong>
                <div class="applyDiv">
                    {if !isset($applied)}
                        {if !empty($arrErr)}
                            <div class="errMsg">
                                {foreach from=$arrErr item="val"}
                                    {if $val.error != ''}
                                        {$val.error}<br>
                                    {/if}
                                {/foreach}
                            </div>
                        {/if}
                    <dl class="confirm">
                        <dt>{$lang.name}</dt>
                        <dd>
                            {assign var=key value="name"}
                            <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                        </dd>
                        <dt>{$lang.nation}</dt>
                        <dd>
                            {assign var=key value="nation"}
                            <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                        </dd>
                        <dt>{$lang.phone}</dt>
                        <dd>
                            {assign var=key value="phone"}
                            <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                        </dd>
                        <dt>{$lang.email}</dt>
                        <dd>
                            {assign var=key value="email"}
                            <input type="text" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                        </dd>
                        {assign var=key value="job_code"}
                        {if $arrForm[$key].value != ''}
                            <dt>{$lang.job_code}</dt>
                            <dd class="tL" style="line-height: 22px;">{$lang.job_num}{$arrForm[$key].value}</dd>
                        {/if}
                        <dt>{$lang.attach}</dt>
                        <dd>
                            {assign var=key value="attach"}
                            <input type="file" name="{$key}" required aria-required="true" value="{$arrForm[$key].value}" />
                        </dd>
                    </dl>
                    <div class="cB">
                        <input type="submit" value="{$lang.sendBtn}" />
                        <input type="reset" id="clearCondition" value="{$lang.resetBtn}" />
                    </div>
                    {else}
                        <div>{$lang.applyContentT1}</div>
                    {/if}
                </div>
            </form>
        </div>
        <div class="cB mb20"></div>
<!--         <div class="commonBox">
            <div>On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they
                cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through
                shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being
                able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it
                will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects
                pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains</div>
            <div>On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they
                cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through
                shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being
                able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it
                will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects
                pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains</div>
            <div>On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they
                cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through
                shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being
                able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it
                will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects
                pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains</div>
        </div>
        <div class="cB mb20"></div> -->
    </div>
</div>
<script type="text/javascript">
$(document).ready(function(){

    // clear form
    $("#clearCondition").click(function(){
        $('#applyForm').find('input:text, input:password, select, textarea').val('');
        $('#applyForm').find('input:radio, input:checkbox').prop('checked', false);
    })
})
</script>
{include file="./include/footer.tpl"}
